package com.neusoft.carsale.bean;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * 
 * @author hp
 *
 */
public class Booking extends Base{
	private Integer bookingNo;
	@JsonFormat(pattern ="yyyy-MM-dd",timezone="GMT+8")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date bookingDate;
	private Float deposit;
	private Store store;
	private Client client;
	public Booking(Integer bookingNo, Date bookingDate, Float deposit, Store store, Client client) {
		super();
		this.bookingNo = bookingNo;
		this.bookingDate = bookingDate;
		this.deposit = deposit;
		this.store = store;
		this.client = client;
	}
	public Booking() {
		super();
	}
	public Integer getBookingNo() {
		return bookingNo;
	}
	public void setBookingNo(Integer bookingNo) {
		this.bookingNo = bookingNo;
	}
	public Date getBookingDate() {
		return bookingDate;
	}
	public void setBookingDate(Date bookingDate) {
		this.bookingDate = bookingDate;
	}
	public Float getDeposit() {
		return deposit;
	}
	public void setDeposit(Float deposit) {
		this.deposit = deposit;
	}
	public Store getStore() {
		return store;
	}
	public void setStore(Store store) {
		this.store = store;
	}
	public Client getClient() {
		return client;
	}
	public void setClient(Client client) {
		this.client = client;
	}
	
	
}
